import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path:"/main",component: () => import('../views/HomePage.vue') 
  },
  {
    path:"/about",component: () => import('../views/AboutPage.vue') 
  }
]

const router = createRouter({
  history:createWebHistory(),routes
})

export default router